import Mock from 'mockjs'

let random = Mock.Random
export default {
	login:()=>{
		return {
			state: 200,
			method: 'post',
			code: 10000,
			requestId: random.string('lower', 15),
			path: '/oauth/login',
			message: '成功',
			error: '无效的身份信息',
			timestamp: random.now('yyyy-MM-dd HH:mm:ss.SSSZ'),
			data: {
				
			}
		}
	},
	logout:()=>{
		return {
			state: 200,
			method: 'get',
			code: 10000,
			requestId: random.string('lower', 15),
			path: '/oauth/logout',
			message: '成功',
			error: '无效的身份信息',
			timestamp: random.now('yyyy-MM-dd HH:mm:ss.SSSZ'),
			data: null
		}
	}
}